function seach(){
	var oarr = [];
	var obj = {};
	var rand = [];
	var xhr = new XMLHttpRequest();
	var domian = "https://www.easy-mock.com/mock/5aa77cc32b0894377fc76657";
	xhr.open("GET", domian + "/seach");
	xhr.send();
	xhr.addEventListener("readystatechange", function() {
		var get_som = document.querySelector(".result_tags");
		if(xhr.status == 200 && xhr.readyState == 4) {
			obj = JSON.parse(xhr.response);
			oarr = obj.hotkey;
//			console.log(oarr);
			var temp = '';
			for(var i=0;;i++){
				var ra = Math.floor(Math.random()*(oarr.length));
				rand.push(ra);
				var rand_temp = rand.filter(function(el,index){
					return index==rand.indexOf(el);
				})
				if(rand_temp.length == 8){
					break;
				}
			}
			rand_temp.forEach(function(el,index){
				var a = document.createElement("a");
				a.href="javascript:;";
				a.classList.add("tag_s");
				temp =`${oarr[rand_temp[index]].k}`; 
				a.innerHTML = temp;
		        get_som.appendChild(a);
			})
			
		}
	})
}seach()